namespace BibleScreen
{
    /// <summary>
    /// Represents a bible text
    /// </summary>
    public struct Verse
    {
        /// <summary>
        /// The title of the verse
        /// </summary>
        public string Title;

        /// <summary>
        /// Where this verse is in the Bible
        /// </summary>
        public string Ref;
        /// <summary>
        /// The verse itself
        /// </summary>
        public string Text;

        /// <summary>
        /// Creates a Verse
        /// </summary>
        /// <param name="Title">A title for the verse</param>
        /// <param name="Ref">Where the verse is in the Bible</param>
        /// <param name="Text">The verse itself</param>
        public Verse(string Title, string Ref, string Text)
        {
            this.Title = Title;
            this.Ref = Ref;
            this.Text = Text;
        }

        /// <summary>
        /// Returns this verse as a string
        /// </summary>
        /// <returns>Text (Ref)</returns>
        public override string ToString()
        {
            return Text + " (" + Ref + ")";
        }

    }
}
